package br.unirio.dsw.util;

public class Util {

	
	private Util(){}
	
	private static Util instance;
	
	public static Util getInstance(){
		if (instance == null)
			instance = new Util();
		return instance;
	}

	public static boolean isBlankOrNull(String texto) {
		if(texto == null)
			return true;
		else if("".equals(texto.trim()))
			return true;
		
		return false;
	}
}
